﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using SaiLing.Paging;

namespace SaiLing.SingleSignOn.Application.Service.Interfaces.System
{
    public interface IApplicationService:IBaseService<Domain.Entities.System.Application>
    {
        Task<PageData<Domain.Entities.System.Application>> PageList(int pageIndex,int pageSize,string name);

        Task<IEnumerable<Domain.Entities.System.Application>> List(string name, string appkey);

        Task<int> Create(Domain.Entities.System.Application entity);

        Task<int> Edit(Domain.Entities.System.Application entity);

        Task<int> Delete(Domain.Entities.System.Application[] entityies);
    }
}
